//zed

print("*** start\n")

eval("//zed \n z = 10")
print("OK - a zed eval'ed z is " + z)

print("An zed eval'ed while statement should print from 10 to 20:")
eval("//zed \n while (z <= 20) print('OK - z is ' + z++) end")

eval("z = z * 2");
if (z == 42)
    print("OK - js eval works as well")
else
    print("FAIL - js eval")
end

print("\n*** end ");





